package com.whcoding.designpatterns.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * @author Manager
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
//链式写法
@Builder
@EqualsAndHashCode
@ToString
public class OrmDeptVO implements Serializable {
	private Long id;
	private Integer deptId;
	private String deptNo;
	private Integer deptType;
	private String deptName;
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date updateTime;
	private transient BigDecimal deptPerf;
	private Integer isValidFlag;
	private String shortName;
	private String remark;
}
